package com.hopes.bizz.common.core.annotation;

import javax.validation.Payload;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * @author yumr
 * @ProjectName bizz
 * @Description Excel Not Null 字段
 * @time 2023/8/1 17:16
 */
@Target({  FIELD })
@Retention(RUNTIME)
@Documented
public @interface ExcelNotNull {

    String message() default "{javax.validation.constraints.NotNull.message}";

    Class<?>[] groups() default { };

    Class<? extends Payload>[] payload() default { };
}
